<?php
header("mime_content_type:text/html;charset=utf-8");
<div class="row mlist">
<h1>请填写注册用户信息</h1>
<form method=post action="doReg.php" enctype="multipart/form-data" class="form-horizontal">
<div class="form-group">
<label for="exampleInputUserName1"class="col-md-2control-label">用户名</label>
<div class="col-md-10">
<input type="text" name="username" class="form-control" id="exampleInputUserName1" placeholder="姓名"required>
</div>
</div>
<div class="form-group">
<label for="exampleInputAgel" ckass="col-md-2-label">年龄</label>
<div class="col-md-10">
<input type="number" name="age" class="form-control" id="exampleInputAgel" placeholder="年龄"reqiured>
</div>
</div>
<div class="form-group">
<label for="exampleInputPassword1"class="col-md2-control-label">密码</label>
<div class="col-md-10">
<input    type="password"     name="password"    class="form-control"  id="exampleInputPassword"placeholder="密码"reqiured>
</div>
</div>
<div class="form-group">
<label class="col-md2-control-label">性别</label>
<div class="col-md-10">
<label class="radio-inline">
	<input type="radio" name="sex" value=0 checked>男
</label>
<label class="radio-inline">
	<input type="radio" name="sex" value=1 checked>女
	</label>
</div>
</div>
<div class="form-group">
<label class="col-md2-control-label">爱好</label>
<div class="col-md-10">
<label class="checkbox-inline">
	<intput type="checkbox" name="hobby[]" value="旅游">旅游
</label>
<label class="checkbox-inline">
	<intput type="checkbox" name="hobby[]" value="登山">登山
	</label>
	<label class="checkbox-inline">

	<intput type="checkbox" name="hobby[]" value="健身">健身
	</label>
	<label class="checkbox-inline">
	
	<intput type="checkbox" name="hobby[]" value="上网">上网
	</label>
<label class="checkbox-inline">
	
	<intput type="checkbox" name="hobby[]" value="游泳">游泳
	</label>
	</div>
	</div>
	<div class="form-group">
<label class="col-md2-control-label">学历</label>
<div class="col-md-10">
<select class="form-control"name="degree">
<option value"">请选择</option>

<option value=1>高中</option>

<option value=2>大学</option>

<option value=3>研究生</option>

<option value=4>博士生</option>
</select>
</div>
</div>
<div class="form-group">
<label for="exampleInputTextareal"class="col-md-2control-label">自我介绍</label>
<div class="col-md-10">

<textarea class="form-control" row="3" id="exampleInputTextareal"placeholder="自我介绍"name="intro"></textarea>
</div>
</div>
<div class="form-group">
<label for="exampleInputFile"class="col-md-2control-label">头像</label>
<div class="col-md-10">
<input type="file" name="pic" id="exampleInputFile"reqiured>
</div>
</div>
<div class="form-group">
<div class="col-sm-offset-2 col-sm-10">
<input type="submit"class="btn btn-default" value="提交">
<input type="reset"class="btn btn-default" value="重置">
</div>
</div>
?>
<?php
if(isset($_GET["msg1"])){

	echo'<h1 style="color:blue;">'.$GET["msg1"]."</h1>";
}
?>
<?php
if(isset($_GET["msg2"])){

	echo'<h1 style="color:blue;">'.$GET["msg2"]."</h1>";
}
?>
</form>
</div>






	

</input>
